package com.jic.product.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.product.entity.WarehouseFlowing;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 实体仓库流水表
 * @author : 
 * @email : 
 * @since : 2020-01-17 05:01:41
 * @version : v1.0.0
 */
@Mapper
public interface  WarehouseFlowingMapper {

    long insert(WarehouseFlowing warehouseFlowing);

    long delete(Long id);

    long update(WarehouseFlowing warehouseFlowing);

    WarehouseFlowing queryByPrimaryKey(Long id);

    List<WarehouseFlowing> query(WarehouseFlowing warehouseFlowing);

    List<WarehouseFlowing> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("warehouseFlowing") WarehouseFlowing warehouseFlowing);

    long queryPageCount(WarehouseFlowing warehouseFlowing);
}